package com.ufgov.agcfs.baseData.entity;

import java.io.Serializable;

public class UpdateType  implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private String id;
	private String nd;
	private String updateType;
	private String updateName;
	
	public UpdateType(){
		
	} 
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getNd() {
		return this.nd;
	}
	public void setNd(String nd) {
		this.nd = nd;
	}
	public String getUpdateType() {
		return this.updateType;
	}
	public void setUpdateType(String updateType) {
		this.updateType = updateType;
	}
	public String getUpdateName() {
		return this.updateName;
	}
	public void setUpdateName(String updateName) {
		this.updateName = updateName;
	}
	
	public boolean equals(Object other) {
		if (this == other) {
			return true;
		}
		if (!(other instanceof UpdateType)) {
			return false;
		}
		UpdateType castOther = (UpdateType)other;
		return 
			this.nd.equals(castOther.nd)
			&& this.updateType.equals(castOther.updateType);
	}

	public int hashCode() {
		final int prime = 31;
		int hash = 17;
		hash = hash * prime + this.nd.hashCode();
		hash = hash * prime + this.updateType.hashCode();
		
		return hash;
	}


}
